package com.njlime.cms.entities;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.njlime.core.base.entities.BaseEntity;
import com.njlime.core.web.validation.RegexType;
import com.njlime.core.web.validation.annotation.Validate;

/**
 * 实体类
 *
 * @since 
 */
@Entity
@Table(name = "t_publish_report")
public class PublishReport  extends BaseEntity {
    private Integer business_type; // 业务类型
    private Integer business_id; // 业务id
    private Integer business_unit; // 业务单位id
    private Date date; // 日期
    private Integer unit_id; // 阅读单位id
    private Integer reading; // 阅读数

    public Integer getBusiness_type() {
        return business_type;
    }

    public void setBusiness_type(Integer business_type) {
        this.business_type = business_type;
    }

    public Integer getBusiness_id() {
        return business_id;
    }

    public void setBusiness_id(Integer business_id) {
        this.business_id = business_id;
    }

    public Integer getBusiness_unit() {
        return business_unit;
    }

    public void setBusiness_unit(Integer business_unit) {
        this.business_unit = business_unit;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getUnit_id() {
        return unit_id;
    }

    public void setUnit_id(Integer unit_id) {
        this.unit_id = unit_id;
    }

    public Integer getReading() {
        return reading;
    }

    public void setReading(Integer reading) {
        this.reading = reading;
    }
}